package com.ct.onlinemusic.service;

import com.ct.onlinemusic.mapper.UserInfoMapper;
import com.ct.onlinemusic.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserSeivice {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public UserInfo checkPassword (String username, String password) {
        return userInfoMapper.selectUserInfoByName(username);
    }
}
